package org.xp.judgeplatform.pojo.dto.JudgeDTO;

import lombok.Data;
import java.util.List;

@Data
public class JudgeResultDTO {

    private String status;
    private Integer score;
    private Integer totalScore;
    private Integer passedCases;
    private Integer totalCases;
    private Double executionTime;
    private Double memoryUsage;
    private String errorMessage;
    private List<TestCaseResult> testResults;


    @Data
    public static class TestCaseResult {
        private Integer caseId;
        private String status;
        private String input;
        private String expected;
        private String actual;
        private String error;
        private Double time;
    }
}
